﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucTaskDetail.ascx.cs" Inherits="Task_ucTaskDetail" %>
<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="yy" %>
<div style="width:99%; border:2px solid #aaa;" onclick="if(tableOnfocus)tableOnfocus(this);">
<% if (IsInTaskGeneration)
  { %>
<div style="padding-left:5px;">
生成此任务&nbsp;&nbsp;  <asp:CheckBox runat="server" ID="chkEnabled" Checked="true" />
</div>
<%} %>

<table style="width:100%; margin:5px;">
    <tr style="height:1px; line-height:1px;">
        <td style="width:100px"></td>
        <td style="width:200px"></td>
        <td style="width:100px"></td>
        <td style="width:auto;"></td>
    </tr>
    <tr>
        <td>主题</td>
        <td colspan="3">
            <asp:TextBox runat="server" ID="txtTitle" CssClass="conint" Width="99%"></asp:TextBox>
            <asp:HiddenField ID="hfTaskIndex" runat="server" />
        </td>
    </tr>
    <tr>
        <td>开始日期</td>
        <td>
            <yy:YYSimpleCalendar ID="txtStartDate" runat="server" CssClass="conint singleline" />
        </td>
        <td>状态</td>
        <td>
            <asp:DropDownList runat="server" ID="drpStatus" Enabled="False" Width="120px">
                <asp:ListItem Value="0">新任务</asp:ListItem>
                <asp:ListItem Value="1">未完成</asp:ListItem>
                <asp:ListItem Value="2">已完成</asp:ListItem>
                <asp:ListItem Value="3">已审核</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>官方时限</td>
        <td>
            <yy:YYSimpleCalendar ID="txtOfficeDeadline" runat="server" CssClass="conint singleline" />
        </td>
        <td>优先级</td>
        <td>
            <asp:DropDownList runat="server" ID="drpPriority" Width="120px">
                <asp:ListItem Value="0">普通</asp:ListItem>
                <asp:ListItem Value="1">高</asp:ListItem>
                <asp:ListItem Value="2">低</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>内部时限</td>
        <td>
            <yy:YYSimpleCalendar ID="txtInnerDeadline" runat="server" CssClass="conint singleline" />
        </td>
        <td></td>
        <td>
        </td>
    </tr>
    <tr>
        <td valign="top" style="vertical-align:top;">任务内容</td>
        <td colspan="3">
            <asp:TextBox runat="server" ID="txtContent" TextMode="MultiLine" CssClass="textarea01"></asp:TextBox>
        </td>
    </tr>
</table>
<asp:Literal runat="server" ID="ltrCKEditor" EnableViewState="false"></asp:Literal>
</div>
<br />
